package com.centit.framework.ip.oa.service;

import java.util.Map;
import com.alibaba.fastjson.JSONArray;
import com.centit.support.database.utils.PageDesc;

import com.centit.framework.ip.oa.po.UserBind;
import com.centit.framework.jdbc.service.BaseEntityManager;

/**
 * UserBind  Service.
 * create by scaffold 2018-10-09 
 * @author codefan@sina.com
 * 用户绑定表用户绑定表，用于与投管系统的用户绑定   
*/

public interface UserBindManager extends BaseEntityManager<UserBind,java.lang.String> 
{
	
	public JSONArray listUserBindsAsJson(
            String[] fields,
            Map<String, Object> filterMap, PageDesc pageDesc);

	void updateTokenToUser(String userCode,String token);

	UserBind getUserByTzUserId(String tzUserId);

	UserBind getUserByUserCode(String userCode);
}
